/**
 * Copyright &copy; 2012-2016 <a href="https://istep.lczyfz.com">Istep</a> All rights reserved.
 */
package com.lczyfz.istep.modules.race.entity;

import org.hibernate.validator.constraints.Length;

import com.lczyfz.istep.common.persistence.DataEntity;

/**
 * 团队历史分数Entity
 * @author cfq
 * @version 2017-06-29
 */
public class RaceTeamScore extends DataEntity<RaceTeamScore> {

	private static final long serialVersionUID = 1L;
	private String teamName;        // team_name
	private String totalScore;        // total_score
	private String scheduleId;        // schedule_id

	public RaceTeamScore() {
		super();
	}

	public RaceTeamScore(String id) {
		super(id);
	}

	@Length(min = 0, max = 255, message = "team_name长度必须介于 0 和 255 之间")
	public String getTeamName() {
		return teamName;
	}

	public void setTeamName(String teamName) {
		this.teamName = teamName;
	}

	@Length(min = 0, max = 255, message = "total_score长度必须介于 0 和 255 之间")
	public String getTotalScore() {
		return totalScore;
	}

	public void setTotalScore(String totalScore) {
		this.totalScore = totalScore;
	}

	@Length(min=0, max=255, message="赛程id长度必须介于 0 和 255 之间")
	public String getScheduleId() {
		return scheduleId;
	}

	public void setScheduleId(String scheduleId) {
		this.scheduleId = scheduleId;
	}
}